package com.entity;

import java.io.Serializable;
import java.util.List;

public class College implements Serializable {
    private Long id;
    private String cName;

    public College() {
    }

    public College(Long id, String cName, List<Major> majorList) {
        this.id = id;
        this.cName = cName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    @Override
    public String toString() {
        return "College{" +
                "id=" + id +
                ", cName='" + cName + '\'' +
                '}';
    }
}
